package com.tangruitao.bean;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class Zhuce {

  private Integer id;
  private String zhanghao;
  private String xianming;
  private String zhengming;
  private String img;
  private String card;
  private String phone1;
  private String phone2;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date date;
  private String password;
//  年龄
private Integer age;

private List<Detail> details;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getZhanghao() {
    return zhanghao;
  }

  public void setZhanghao(String zhanghao) {
    this.zhanghao = zhanghao;
  }


  public String getXianming() {
    return xianming;
  }

  public void setXianming(String xianming) {
    this.xianming = xianming;
  }


  public String getZhengming() {
    return zhengming;
  }

  public void setZhengming(String zhengming) {
    this.zhengming = zhengming;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }


  public String getCard() {
    return card;
  }

  public void setCard(String card) {
    this.card = card;
  }


  public String getPhone1() {
    return phone1;
  }

  public void setPhone1(String phone1) {
    this.phone1 = phone1;
  }


  public String getPhone2() {
    return phone2;
  }

  public void setPhone2(String phone2) {
    this.phone2 = phone2;
  }


  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

}
